package com.system.insurance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.system.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 成交金额
 * </p>
 *
 * @author WS
 * @since 2024-05-30
 */
@Data
@ApiModel(description = "成交金额")
@TableName("transaction_price")
//@EqualsAndHashCode(callSuper = false)
public class TransactionPrice extends BaseEntity {

    private static final long serialVersionUID = 1L;

//    /**
//     * 主键
//     */
//      @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;

    /**
     * 询价用户id
     */
    @ApiModelProperty(value = "询价用户id")
    @TableField("xjid")
    private Integer xjid;

    /**
     * 报价用户id
     */
    @ApiModelProperty(value = "报价用户id")
    @TableField("bjid")
    private Integer bjid;

    /**
     * 真实成交价格
     */
    @ApiModelProperty(value = "真实成交价格")
    @TableField("make_a_bargain")
    private BigDecimal makeABargain;

    /**
     * 客户返款金额
     */
    @ApiModelProperty(value = "返款给客户金额")
    @TableField("client_price")
    private BigDecimal clientPrice;

    /**
     * 服务费
     */
    @ApiModelProperty(value = "服务费")
    @TableField("service_charge")
    private BigDecimal serviceCharge;

//    /**
//     * 创建时间
//     */
//    private LocalDate createTime;
//
//    /**
//     * 更新时间
//     */
//    private LocalDate updateTime;


}
